<div class="modal fade in ip-box" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" id="edit">
	<div class="modal-dialog " role="document" style="margin: 254px auto;">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
				<h4 class="modal-title" id="myModalLabel">权限管理 — 修改</h4>
			</div>
			<div class="modal-body">

				<form name="editForm">

					<div class="form-group">
						<label class="col-xs-12 col-sm-3 control-label text-right"	for="dhName">权限编码:</label>
						<div class="col-xs-12 col-sm-9">
							<input type="text" 
								   name="operationCode" 
								   class="form-control" 
								   autocomplete="off" 
								   required 
								   ng-model="edit_operationCode" 
								   > 
						    <label class="red required">*</label>
							<div class="error ng-hide"	ng-show="editForm.operationCode.$dirty &amp;&amp; editForm.operationCode.$invalid">
								<small class="error" ng-show="editForm.operationCode.$error.required">请输入权限编码</small>
							</div>
						</div>
					</div>

					<div class="form-group">
						<label class="col-xs-12 col-sm-3 control-label text-right"	for="dhName">权限名称:</label>
						<div class="col-xs-12 col-sm-9">
							<input type="text" 
								   name="operationName" 
								   class="form-control" 
								   autocomplete="off" 
								   required 
								   ng-model="edit_operationName"
								   > 
							<label	class="red required">*</label>
							<div class="error ng-hide"	ng-show="editForm.operationName.$dirty &amp;&amp; editForm.operationName.$invalid">
								<small class="error" ng-show="editForm.operationName.$error.required">请输入权限名称</small>
							</div>
						</div>
					</div>	

					<div class="form-group height-auto">
					   <label class="col-xs-12 col-sm-3 control-label text-right">是否启用:</label>   
                         <div class="one-line col-xs-12 col-sm-3">
                             <select name="enable"  
                             		 required  
                             		 ng-options="obj.id as obj.name for obj in editOperationEnableSelect"  
                             		 ng-model="edit_enable"
                             		 >
                             </select>
                        </div>					
					</div>

					<div class="form-group height-auto">
						<label class="col-xs-12 col-sm-3 control-label text-right">描述:</label>
						<div class="col-xs-12 col-sm-9">
							<textarea rows="4" 
								      type="text" 
								      name="description" 
								      class="form-control"	
								      ng-model="edit_description"
								      >
					        </textarea>                                    
						</div>
					</div>

					<div class="col-sm-12">
						<div class="modal-footer">
							<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
							<button type="button" 
									class="btn btn-primary" 
									data-dismiss="modal"
									ng-disabled="editForm.$invalid"
									ng-click="confirmEdit()"
									>修改
							</button>
						</div>
					</div>

				</form>
			</div>
		</div>
	</div>
</div>